import { createPinia } from 'pinia'
// 引入持久化插件
import piniaPluginPersist from 'pinia-plugin-persist'

const store = createPinia() //创建pinia存储根store
store.use(piniaPluginPersist) //集成持久化存储插件

export default store

